package com.xebest.web.mapper.read;

import com.xebest.web.form.XeVenOrderLogisticsForm;
import com.xebest.web.model.XeVenCarEntity;
import com.xebest.web.view.XeVenOrderLogisticsView;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 物流信息
 *
 * @author 袁世林
 */
public interface WeChatVenOrderLogisticsReadMapper {

    /**
     * 物流单查询列表
     *
     * @author 袁世林
     */
    List<XeVenOrderLogisticsView> queryOrderLogisticsList(XeVenOrderLogisticsForm form);

    /**
     * 物流派车列表查询
     *
     * @author 袁世林
     */
    List<XeVenOrderLogisticsView> querySendCarList(XeVenOrderLogisticsForm form);

    /**
     * 查询车辆
     *
     * @author 袁世林
     */
    List<Map<String, Object>> queryCarList(XeVenOrderLogisticsForm form);

    /**
     * 查询所有车辆
     *
     * @author 袁世林
     */
    List<Map<String, Object>> queryAllCarList(XeVenOrderLogisticsForm form);


    List<XeVenCarEntity> queryErpLogisticsCarList(@Param("list") List<String> carIds, @Param("form") XeVenOrderLogisticsForm form);

    List<Map<String, Object>> queryNormWeightByParam(Map<String, String> paramMap);

    String queryShopNameByOrderId(@Param("orderId") String orderId);

}